package com.pinyougou.mapper;

import com.pinyougou.pojo.TbSpecification;

import java.util.List;
import java.util.Map;

public interface SpecificationMapper extends BaseMapper<TbSpecification> {
    /**
     * 获取格式化的规格列表；格式为：[{id:'1',text:'屏幕尺寸'},{id:'2',text:'机身大小'}]
     * @return 规格列表；格式为：[{id:'1',text:'屏幕尺寸'},{id:'2',text:'机身大小'}]
     */
    List<Map<String,Object>> selectOptionList();
}
